package de.gwtprime.shared.requestFactory;

import java.util.Date;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;

import de.gwtprime.server.model.EntityLocator;
import de.gwtprime.server.model.Transaction;
import de.gwtprime.shared.TransactionType;

@ProxyFor(value = Transaction.class, locator = EntityLocator.class)
public interface TransactionProxy extends EntityProxy {

	public Date getBlockTime();
	public Integer getBlockIndex();
	public String getBlockHash();
	public Date getTimeReceived();
	public Date getTime();
	public String getTransactionId();
	public Double getAmount();
	public String getAddress();
	public TransactionType getType();
	public boolean isConfirmed();
}
